'use strict'

var Sequelize = require('sequelize');
var sequelize = require('../db');

const table = sequelize.define('task', {
    // attributes
    positionName: {
      type: Sequelize.STRING(2000),
      allowNull: true
    },companyName: {
      type: Sequelize.STRING(2000),
    },Workingplace: {
      type: Sequelize.STRING(2000),
    },Salary: {
      type: Sequelize.STRING(2000),
    },time: {
      type: Sequelize.STRING(2000),
    }
  }, {
    // options
  });

  module.exports = table;